package com.xinqi.modules.prepare.question.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 添加题目到试题夹-请求对象
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
@Schema(description = "添加/移除题目到试题夹-请求对象")
public class PrepareJoinQuestionFolderDTO implements Serializable {
    @Schema(description = "试题夹id", example = "10002")
    private Long questionFolderId;

    @Schema(description = "备课区ID", example = "10002", hidden = true)
    @NotNull(message = "备课区ID不能为空")
    private Long prepareId;

    @Schema(description = "试题id列表", example = "试题夹01")
    @NotEmpty(message = "试题id列表不能为空")
    private List<Long> questionIds;

}
